Running DOS Programs in OpenLinux
Getting Started Guide
183
A DOS session begins, as shown in Figure 71. The C:> drive is mapped to the
hard disk image of DOS stored within the Linux file system. Change to drive L:
to access the root of the Linux filesystem (/).
FIGURE 71. DOS sessions can be started from any graphical or character-based
command line.
You can directly run most DOS programs, including graphical DOS games.
Multiple DOS sessions can be started; each is run as a separate Linux process.
These can be used to display DOS programs on dumb terminals connected to the
Linux system, or for many other uses.
Filenames within the Linux file system are altered to fit a standard 8.3 DOS file-
name format, which can make it difficult to locate some files, but all DOS file
operations are mapped to the Linux filesystem (provided the permissions of the
user who started the DOS session are not overstepped).
To exit a DOS session, execute this command at the DOS prompt:
L:>\ exitemu
The two files /etc/dosemu.users and /etc/dosemu.conf provide the configuration
information for the DOS sessions, and can be changed as needed. The file /etc/
dosemu.conf.sample is also provided as a sample, with extensive notes describ-
ing how the DOS emulator and DOS itself are configured for use under Linux.